package com.fastCms.business.frame.response;

import com.fastCms.business.frame.constant.ResultCodeConst;
import lombok.Data;

/**
 * @Description 失败
 * @Param
 * @Return
 * @Date 2019/3/7 上午10:56 lsquan
 */
@Data
public class Fail extends ApiResponse {

    public Fail() {
        super(ResultCodeConst.FAIL_CODE);
    }

    public Fail(String errMsg) {
        super(ResultCodeConst.FAIL_CODE);
        super.msg = errMsg;
    }

    public Fail(int code, String errMsg) {
        super(code);
        this.msg = errMsg;
    }
}
